Optimal. Leaf size=14 \[ \frac {\text {Li}_2\left (-a x^{-n}\right )}{n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 14, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {2461, 2391} \[ \frac {\text {PolyLog}\left (2,-a x^{-n}\right )}{n} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2391
Rule 2461
Rubi steps
\begin {align*} \int \frac {\log \left (x^{-n} \left (a+x^n\right )\right )}{x} \, dx &=\int \frac {\log \left (1+a x^{-n}\right )}{x} \, dx\\ &=\frac {\text {Li}_2\left (-a x^{-n}\right )}{n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 14, normalized size = 1.00 \[ \frac {\text {Li}_2\left (-a x^{-n}\right )}{n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.43, size = 61, normalized size = 4.36 \[ \frac {n^{2} \log \relax (x)^{2} - 2 \, n \log \relax (x) \log \left (\frac {a + x^{n}}{a}\right ) + 2 \, n \log \relax (x) \log \left (\frac {a + x^{n}}{x^{n}}\right ) - 2 \, {\rm Li}_2\left (-\frac {a + x^{n}}{a} + 1\right )}{2 \, n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\log \left (\frac {a + x^{n}}{x^{n}}\right )}{x}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.08, size = 15, normalized size = 1.07 \[ \frac {\dilog \left (a \,x^{-n}+1\right )}{n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ a n \int \frac {\log \relax (x)}{a x + x x^{n}}\,{d x} + \log \left (a + x^{n}\right ) \log \relax (x) - \log \relax (x) \log \left (x^{n}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.07 \[ \int \frac {\ln \left (\frac {a+x^n}{x^n}\right )}{x} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\log {\left (a x^{- n} + 1 \right )}}{x}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________